//
//  InfoViewController.h
//  first app
//
//  Created by 林 小明 on 14-7-9.
//
//

#import <UIKit/UIKit.h>

@interface InfoViewController : UIViewController<UITableViewDataSource,UITableViewDelegate>
{
    IBOutlet UILabel *msgtitle;
    IBOutlet UILabel *playertitle;
    IBOutlet UILabel *totaltime;
    IBOutlet UILabel *currenttime;
    IBOutlet UIButton *playbutton;
    IBOutlet UIButton *downloadallbutton;
    IBOutlet UISlider *playslider;
    IBOutlet UITableView *downloadList;

    NSTimer* sliderTimer;
    NSMutableArray* downloadInfos;
    NSDictionary* playViewInfos;
}

@property(nonatomic,retain) IBOutlet UILabel *msgtitle;
@property(nonatomic,retain) IBOutlet UILabel *playertitle;
@property(nonatomic,retain) IBOutlet UILabel *totaltime;
@property(nonatomic,retain) IBOutlet UILabel *currenttime;
@property(nonatomic,retain) IBOutlet UIButton *playbutton;
@property(nonatomic,retain) IBOutlet UIButton *downloadallbutton;
@property(nonatomic,retain) IBOutlet UISlider *playslider;
@property(nonatomic,retain) IBOutlet UITableView *downloadList;

- (IBAction) playButton;

- (IBAction) downloadAllButton;

- (void) setViewInfo:(NSDictionary*) viewInfo;

@end
